package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 入库单明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-04
 */
@Data
@ApiModel(value="InboundItemDTO对象", description="入库单明细")
public class InboundItemDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "入库单号")
    private String inboundCode;

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;


    @ApiModelProperty(value = "组织机构")
    private String groupCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inboundQuantity;

    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "存货日期")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "收货登记标识")
    private String receiveItemCode;
}
